<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Integral extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'integral';
    protected $guarded=[];
    public function getScoreInfo()
    {
        return $this->belongsTo(UserInfo::class,'user_id','id');
    }
}
